﻿<%@ Control Language="VB" Inherits="System.Web.Mvc.ViewUserControl" %>
<table class="data-table">
    <thead>
        <tr>
            <th>
                &nbsp;
            </th>
            <th>
                Page Access
            </th>
        </tr>
    </thead>
    <tbody>
        <% For Each pageAccess In ViewData("Pages")%>
        <tr>
            <td>
                <%= Html.CheckBox(String.Format("cbxPageAccess_{0}", CInt(pageAccess.Type)), CBool(pageAccess.Grant))%>
            </td>
            <td>
                <%: pageAccess.Description%>
            </td>
        </tr>
        <% Next%>
    </tbody>
</table>
